import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
const path = require('path')

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  build: {
    outDir: "dist",
    assetsDir: "assets",
  },
  resolve: {
    alias: {
      '@': path.join(__dirname, 'src')
    },
  },
  optimizeDeps: {
    include: ["vant", "mitt", "md5", "base-64", "axios"]
  }
})
